
#include <iostream>
using namespace std;

#include "CPhoneBook.h"


int main ()
{
    CPhoneBook* thePhoneBook = new CPhoneBook();

    thePhoneBook->addEntry("Meier Hans", 123);
    thePhoneBook->addEntry("Muster Sepp", 456);
    thePhoneBook->addEntry("Koster Maurice", 789);
    thePhoneBook->print();


    thePhoneBook->deleteEntry("Muster Sepp");
    thePhoneBook->print();


    cout << "Here the number of 'Koster Maurice' => " << thePhoneBook->searchNumber("Koster Maurice") << endl;

    return 0;
}
